import request from '@/utils/request'

// 告警列表
export function getWarningMessageList(data) {
  return request({
    url: '/report-emergency/warningMessageList',
    method: 'post',
    data: data
  })
}

// 告警详情
export function getWarningMessageById(id) {
  return request({
    url: '/report-emergency/warningMessageById/' + id,
    method: 'get'
  })
}
